<div class="<?php echo $_COOKIE['sidebarStatus'] == 'no' ? 'sidebar-nav-hide':'sidebar-nav'?>" id="sidebar-nav" >
<?php foreach ($module as $val){
		if (!empty($val['menu_list'])){
	?>
			<a href="#sidebar_menu_<?php echo $val['module_id'];?>" class="nav-header collapsed" data-toggle="collapse">
			<i class="<?php echo $val['module_icon'];?>"></i><?php echo $val['module_name'];?> <i class="icon-chevron-up"></i></a>
				<?php if ($val['module_id'] == $current_module_id) {?>
					<ul id="sidebar_menu_<?php echo $val['module_id'];?>" class="nav nav-list collapse in">
				<?php }else{ ?>
					<ul id="sidebar_menu_<?php echo $val['module_id'];?>" class="nav nav-list collapse">
				<?php } ?>
				<?php foreach ($val['menu_list'] as $v){
					if (strtolower(substr($v['menu_url'],0,7))=='http://'){ ?>
					<li><a target=_blank href="<?php echo $v['menu_url'] ;?>"><?php echo $v['menu_name'] ;?></a></li>
				<?php }else{ ?>
					<li><a href="<?php echo CONF_MAIN_DOMAIN ;?><?php echo $v['menu_url'] ;?>"><?php echo $v['menu_name'] ;?></a></li>
				<?php } ?>
				
				<?php }?>
			</ul>
			<?php } ?>
<?php }?>
</div>
<div  id="content"  class="<?php echo $_COOKIE['sidebarStatus'] == 'no' ? 'content-fullscreen':'content'?>">
        <div class="header">
            <div class="stats">
			<p class="stat"><!--span class="number"></span--></p>
			</div>

            <h1 class="page-title"><?php echo $currentMenu['menu_name'];?></h1>
        </div>
		<ul class="breadcrumb">
           	<?php if(isset($currentMenu['module_url'])){?>
            	<li><a href="<?php echo $current_module['module_url'];?>"><?php echo  $current_module['module_name'];?> </a> <span class="divider">/</span></li>
            <?php } ?> 
			<?php if(isset($currentMenu['father_name'])){?>
				<li><a href=" <?php echo $currentMenu['father_url'];?>"> <?php echo $currentMenu['father_name'];?></a> <span class="divider">/</span></li>
			<?php } ?>
			<li class="active"><?php echo $currentMenu['menu_name'];?></li>
			<?php if ($currentMenu['shortcut_allowed']){?>
				<?php if(in_array($currentMenu['menu_id'],$user_info['shortcuts'])){?>
					<a title= "移除快捷菜单" href="#"><li class="active"><i class="icon-minus" method="del" url="/account/shortcut?menu_id=<?php echo $currentMenu['menu_id'];?>"></i></li></a>
				<?php }else{ ?>
					<a title= "加入快捷菜单" href="#"><li class="active"><i class="icon-plus" method="add" url="/account/shortcut?menu_id=<?php echo $currentMenu['menu_id'];?>"></i></li></a>
			<?php }} ?>
			
        </ul>
<div class="container-fluid">
	<div class="row-fluid">
		<div class="bb-alert alert alert-info" style="display: none;">
			<span>操作成功</span>
		</div>